Skip to content

fix: allow root bypass in sandbox - #7

Closed
erfur wants to merge 1 commit into
openchamber:mainfrom
erfur:fix/root-sandbox-permissions
Closed

erfur wants to merge 1 commit into
openchamber:mainfrom
erfur:fix/root-sandbox-permissions

Conversation

@erfur

@erfur erfur commented Sep 1, 2026

Copy link
Copy Markdown

Summary

  • mark root Claude child processes as sandboxed when dangerous permission bypass is explicitly enabled
  • preserve existing behavior for non-root processes and other permission modes
  • add smoke coverage for the child environment

Testing

  • npm test
  • npm run build

@btriapitsyn

Copy link
Copy Markdown
Contributor

Thanks, but I'd rather not set IS_SANDBOX automatically: it tells the CLI it's sandboxed without checking, just to skip its root safety check. If you really run in a container, setting IS_SANDBOX=1 yourself works the same. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants